package com.platform.dao;

import com.platform.entity.OrderEntity;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 
 * 
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-13 10:41:09
 */
public interface OrderDao extends BaseDao<OrderEntity> {
    /**
     * 查询用户的消费额，已完成的订单，状态码为301
     *
     * @param user_id
     * @return
     */
    BigDecimal checkActualPrice(@Param("user_id") Long user_id);
}
